﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Contract.Business.Entity;
using Contract.Business.Filter;
using Generic.Business.Process;
using Contract.Business.Manager;
using Contract.Business.Validation;

namespace Contract.Business.Process
{
    public class BPFuncionario : BPGeneric<BEFuncionario, BMFuncionario, BVFuncionario, FEFuncionario>
    {
        public bool Logar(string usuario, string senha)
        {
            return BusinessManager.Logar(usuario, senha);
        }

        public void AlterarSenha(string usuario, string senhaAntiga, string novaSenha)
        {
            BusinessManager.AlterarSenha(usuario, senhaAntiga, novaSenha);
        }
    }
}
